#ifndef CONTENTVIEW_H
#define CONTENTVIEW_H

#include <QWidget>
#include <QList>
#include "model/comment.h"
namespace Ui {
class ContentView;
}

class ContentView : public QWidget
{
    Q_OBJECT
    
public:
    explicit ContentView(QWidget *parent = 0);
    ~ContentView();
public slots:
    void setUserIcon(const QString &usericon);
    void setTitle(const QString &title);
    void setDescription(const QString &desc);
    void setOwner(const QString &owner);
    void setComments(QList<Comment *> *comments);
    void setCommentCount(int count);
private:
    Ui::ContentView *ui;
};

#endif // CONTENTVIEW_H
